Make Flush work without requiring curly braces

@pranavkm - Could you please take a look at the PR?
You could leave these be, they don't change the nature of the executing code