Python: Add bindings for TypeData.