Refactored the way in which schedules will be implemented.