Add support for inserting and modifying notes.