Simplifying Repository instance creation