Changed boolean to bool.