API for removing mod