Implemented types for Periods and Durations.