Adding Set() method.