Support full URLs for typeof.

- Addresses #8.