Removed BOOL casts.