Avoiding check that as_url is globally set (fixes #46)