Account for errors.