Added ability to generate a type at runtime based on XomNodeAttributes