Remove static and put this in an anonymous namespace