Adds inheritance