Nesting a struct to simplify exports