This function returns a "SwigPyObject" instead of a set of Unit. It seems that this problem has been mention in TODO. I don't know what is wrong, otherwise I will fix it myself. > - Fix getLarvae (and other functions of non-static sets/lists)