Base library for writing document import filters
