We could add a convenience `getRepository` method to the options class, without a `setRepository` method. That may be a little confusing for users though. Thoughts?