Make mixture.groups a method to hide private data