Added snippet for password protected documents.