Either here or the header is fine -- it's only used in this file, so it doesn't really need to be exposed to the rest of the codebase.