Improve class configuration.