Repository inheritance