Added DisplayMode and PrimitiveType.