Relations nestedtype-outertype and nestedtype-outermosttype.