Use anonymous namespaces instead of "detail" namespace for .cpp files