Fix for doc_factory pa failure.