`X == null` is better here because if the user specifies an empty string, we should still throw.