Use a structure for the changes return.

Makes it a little clearer what's getting returned.