What's this added `flag` parameter and why?  I didn't see anything of this sort in the commit messages, can you explain what this does?