Re #9468. Moved struct definition to an anonymous namespace.