Added factory code to build AddAnnotationFieldCommand.