Added getPathData flag to getDocumentInfo
force getDocumentInfo flags to be booleans; comment cleanup