Added url checking.