Add the corresponding class for datetime schema into ObjectCreator.