Properly parses and stores schedules.