Rename API functions and throw errors

`get sourceMap()` or `getSourceMap`