Added missing method to Lua API.