A how-to guide to inheritances