Adding support for note saving.