Adding DateTime prototypes and enum type