Abstracted repository from mapping