These should be moved below, into the code. `_VALID_URL` is also used by suitable, that's the only reason it's up here.