Implement uninstall in the api