Implemented a proper way of generating reminders (we hope).