Expose nodeTypes as a property.