Added from_url() method.