Refactored some methods to extension methods.
Url properties now return Uris.
Fixed ThrowOnError method