More marshaling functionality.