Removed warnings and unused code in AddAnnotationFieldCommand +
UpdateFileInExperimentCommand.