Simplify UrlCode check code even more.