handle inheritance of public items