Simplifying null/undefined check.