PDF analysis improvements