Add repositories base classes.