Bunch of changes

Some documentation fixes, renaming (NumberType -> MessageContentIndex), typo correction, etc.
(see minor changes in the individual commits)