Reworked the framework for parsing timetables.