Since this is just for the seen plugin, it should be defined in the plugin's file. If you don't like sticking it in the same file, you could probably make the seen plugin a module (make a folder, and make several files in it). I *think* that would work.