Fixed up boolean types a bit.