Added basic group mask system.