Added methods to mark failure lines.