Adding base repository classes.