bugfix: renamed api_method to api_methods