Remove the setting of constructor

Objects shouldn't have a constructor property by default.