Taking advantage of new hooks added to main Pagedown repo. Can now safely merge this.