Create a new class which inherits from a class it will replace.