Or you could just change this method to be:

```ruby
def initialize(registry = Mapper::Registry.new)
  @repositories = {}
  reset(registry)
end
```

If someone happens to pass in `nil` the method should explode imho.