Pope Benedict’s pontificate marked by teaching