Support for masked arrays.