remove redundant Meta classes and add __repr__ function to cases