private Class<?> createRelated(Class<?> type, Class<?> relatedType) {
			if (relatedType == null && type.isArray()) {
				relatedType = Array.newInstance(type, 0).getClass();
			}
			if (!type.equals(relatedType)) {
				return type.getSuperclass();
			}
			return null;
		}