Remove all dependencies on newww-metrics except in tests