Replace BOOL with bool.