Use boolean instead of bool.