Started working on function calling for Lua interface.