Extend prototype otherwise constructor property is overwritten