Add PkgGroup type to the Python wrappers