Add notes to pathways

There's some pretty egregious code in here, but I think it works.