Converts def to staticmethod in MongoCurious.