def __getattr__(self, attr):
        if attr not in self.PLUGIN_METHODS:
            raise AttributeError
        try:
            return self.namespace[attr]
        except KeyError:
            raise AttributeError