Return types of the setter functions were changed to the tpye of the class from void.