refactor(lib): Update module-global function names
docs(api): Update comments