Add ability for lambda to change the context for fragment execution