actually, defining this.repos in the ctor solves the closure problem