Allow access to calling environment correctly from within blocks