Extract inheritance.