Removed global_reg_value leftovers.