Wrapped function inside scope.