Remove method from the api