arbitrary type support (e.g., LuaJIT's cdata)