Add Benjamin Peterson's six module
Fix type leak by using a registry of weak references