Move plugin registration into initializer block, re-initialize settings for in config.to_prepare for development mode.