Added boolean behaviour for typed arguments