Fix handling of URLs, that result in no actual model

Add $callback to scope of Closure.