BUGFIX: Changed boolean to appropriate type.