Learn composition prior inheritance.