No more nested ifs guarding against null/undefined