Fixing #4 - a documents URL property should be set via the `setUrl()` method, rather than changing the property directly.

Calling setUrl (which in turn calls  addUrl) ensures that the `urls` array is updated correctly, which in turn updates the filesByUrl array, which is ultimately check when incoming requests are made.