Adding setters to link class