Allow configuring Repository class