Lua: Implemented GenericPointer wrapping.