add 'install' method for plugins