Removed newlines from error strings.