Added default metrics implementation.