Use an anonymous namespace instead of private static member.