Passing a structure through to the callback seems like a fine thing to do.