core: prefix API functions correctly

Resolves #984 and snipers 1000.