Limit subclass scopes to subclasses

Prior to this change, scopes added to subclasses would be visible on the
superclass