Very minor: casting DS --> Schedule to be sure it is correct as per ifc
Merge pull request #226 from alxdarksage/refactor-schedule-cast

Very minor: casting DS --> Schedule to be sure it is correct as per ifc