Refactor Class#subclasses methods.