Change bool to boolean.

Move away from the deprecated `bool` notation.