'Undoes the effects of setup_inherited_models(). Should be called
whenever select columns (self.select) are set explicitly.'

def remove_inherited_models(self):

    for (key, alias) in self.included_inherited_models.items():
        if key:
            self.unref_alias(alias)
    self.included_inherited_models = {}
