Add ability for lambda to change the context for fragment execution
Formatting, and small javadoc improvement.