Removed deprecated Date constructor.