Fixes #115 the settings should be self.settings.