Add check on immutability of group type via import