Add repository factories