Cleanup of uninstall method.