I don't think it's good idea. `type` is some constructor function, not just object.