Added validator for checking urls.