Rename notes to pub, part 1.
Rename notes to pub, part 2.