simplifies methods related to URLs
moves URL-related methods from Document to URL