Moved behaviour from ClassDeclaration to Classifier.