Refactor the robots and sitemap constructors