Removed unused methods in CompositionCommand. Minor javadoc changes in CompositionProblem