Adding support to MDArray