Deprecated class now extends new class