remove unused method from the api