Take a root type parameter for generating other schema elements.