I don't know why I didn't think of the easy solution: an argument to the generator, defaulting to user. At any rate, that should be a separate PR.