Renaming error_classes to error_class.