Fixed string-based error messages.