set/getRepository methods