Handle notes in a more generic way.