Add inheritance.