Move table manipulation functions to pLuaTable