Fix getApiMethods return variable name, fix #72