There is no separate handler in the Expressive code for FriendsPage::print_body, because FriendsPage is really just an extension of RecentPage. So the layout code takes advantage of this inheritance by using one function (RecentPage::print_body) to print both pages.

Confusing explanations aside, I'd recommend a slight modification of the instructions I gave here (which I see you already found):