Passing the object in question, since this provides a way of caching short urls until #371 is merged