Inherit correctly