Remove references to builtin metrics.