Fix warnings in PF documentation generation