Update codegen support inheritance from uses statements