make options optional for document_application