modifications to class.