Shouldn't this be APIMethod since it's used in Map.js ?