Fix crash in boats mod
Rename functions, update API