Be consistent with the var type and use REFERENCE_TIME when it makes sense.