Fix wrong API method names