Preparing for plugin system.