IMO `writable`, `enumerable` and `configurable` should be set from `refs[proto.ref].attributes`, unless V8 does not include attributes for the prototype.