Record mask.