Don't throw a warning if we're expecting a null object.