Add functions for base attributes to Lua doc