Remove incorrect staticmethod declaration