Use keyword argument for boolean flags.

Using keyword arguments makes the intent of the code clearer, due to
the fact that a name is attached to a boolean value, making the reasoning
about the code easier.