inheritance + registration