Fixed broken inheritence in DateType and DateTimeType