Added support for exit metrics.