Fixed our in and out of scope example to not throw a warning