Adds class to register repositories