slot deprecated book-page generator code for removal