Removed redundant 'isPastDate' method.