Improves error conditions.