Added some URL checks.