Refactor setValues out of RT to Util