Use public 'mask' getter instead of private field.