Added the default handler for handling datetimes.