Fixed problem with subclassing classes that cannot be subclassed using associated objects.