Added SoyScope which calls a function/lambda on enter & exit of a scope