Add support for DateTimeInterface