Put the initialization of a repository into the constructor instead of a method.
Merge branch 'master' into win-binary