Possible simplification tip, take the TransformStruct here by pointer, and then just forward-declare the type here instead of including.