move the `type` and `version` properties from the prototype to the instance