Adding Lua API goodness.