Being dependent on `autoclass` seems a bit overkill: we can copy the appropriate sections inside `pyfields`