First version of a plugin system.