Add the Frontend::indexPageIfApplicable() method