Remove unused metrics.

Change-Id: Icf03ba4ce92a5e38daf12930f9661daba79c83bb
Remove unused flags.

Change-Id: Ie1bcbb0743d65e92072628811706d49753023205