Fixed problem with subclassing classes that cannot be subclassed using a...

...ssociated objects.