mask-mode: leaner code.