Added delete object method and clean up date usage