I can't use an anonymous namespace because I need it in the header. Any other suggestions? I'm thinking that maybe is better to put the class in another file.