Chunk scheduling now has its own class, and some comments too.