Add support for mapping hmarrays.