impl.duration is not a function.