Moves #mentions from Note to Object.
Corrects mistake in documented example code.