This have to be public, this function is used in Sitemap.php