Switch to duration type.