Document type enhancement