Small fixes to error messages.