Added first version of plugin interface.