Removing legacy metrics code.