Remove warning on coersion to BOOL.