Clarifications in implementation notes for rests and tuplets, courtesy Adrian Holovaty.