add bool/bvec and int/ivec support