More straightforward way to set prototype.constructor