Document Compiler and Scanner