* Enums are now proper python enums instead of just being a class with static int members. * Fix a refcounting issue with SWIG generated code to access nested child structs.