add registerLuaFunctions() to World. #96