Document extractors and validators