Fixed callback scope.

I fixed the overfunc and outfunc scope.
Merge pull request #1 from djmccormick/feature-scope

Fixed callback scope.