Set up marshaling fields