PIM-2368 : add repositories constructors