Fix bug with setValueText being defined twice.