Added more extensible Lua interface.