Store metatables as upvalues instead of in the registry in parse.c