Add support for installing and uninstalling plug-ins #1602