Fixed subclass implementation

Subclass implementation was not functioning correctly with in-app
specification. Fixed.