Fixes #5. Sets NoteAttributes on note creation.