Fixed pretty exceptions.