Purged old perl stuff, better semantic setup for C.