Add mask getter/setter.