Remove dead code from leaf page load.