Casting is activated as bool.

Signed-off-by: Ben Corlett <bencorlett@me.com>