Changing the class configuration.