.mask support for Mask