Refactoring bundle plugin configuration.