Changed the way the ConstantGroup class is defined to make pylint v. 1.x
happy.