Refactored code: created a meta-method for new setters that need a recompute option.