Implement condition tracking.