Explicit compairson to null and indentation fix.