Added caching to notes.