Added "failures" tracking.