Add a duration property.