Refactors to better hide the schedule map by using an enum.