Helper for inverting deserialized operations.