Ad null pointer prevention.