Removed unnecessary DateParser.
Removed extraneous code.