Fixed setters

Prior to this fix, setter functions were declared to be of the same type
as the variable being set.  This is obviously wrong--a setter needs to
be of type void.