Modified Control.prototype.set method to be unified with setProperties