Add casters
Handle typeof arrayscalar