Use 'boolean' as type instead of 'bool'