Not sure how this will interact with non-time units. Perhaps this function should do the time reference check.