The removed lines were added in case their lack was making sitemap not work, but that is a separate bug, so they are useless to keep.