'Provide direct assignment to configuration fields.
If the standard configuration includes the option `\'foo\'`, then
assigning to `self.foo` should be the same as assigning to
`self.config[\'foo\']`.'

def __setattr__(self, key, value):

    if (key in self.default_config):
        self.config[key] = value
    else:
        super(BasePlugin, self).__setattr__(key, value)
