Initial version of plugin system.