Make duration literal work