Added getAllNotes() API