Avoid casting in wrap function.
Merge branch 'array' of ssh://github.com/emmt/TiPi into array