Implement composite masks and mask logic