Correct an error of class.