Prevents exceptions from being thrown when passed a nil string?