Support time.{Duration,Time} in queries.