Added plugin system.