There are no correctness issues with it, but stylistically it could be argued either way. It's probably best inside the struct, I'll move it.