Remove unused classmethod from setup.py