WIP: rebuilding the C extension from scratch
WIP: custom extension