Adding unit tests would be a good idea. It'll be a long process, so for a more manageable starting place, I'm picking `ptypes`.