sm-map: Proper API docs.