Extract plugin configuration methods into a module.