Removes calls to prototype.constructor

Resolves #1338
Merge pull request #1354 from jmeas/bye-prototype-constructor

Bye prototype constructor