Revert "Revert "Remove some vestiges of the old C extension support that don't do anything.""

This reverts commit dc702bd7b6a69f3e997ee85a4b40322ffc501f01.