Added optional dependencies for encrypted PDF files