Add callbacks for 2.4 course formats.

Thanks to Richard Oelmann for recognising the issue and proposing a patch, and Mart van der Niet for bringing attention to it.