make struct internals public