Eliminate unnecessary subclass.