make repository overridable via attributes