I am not quite understanding why this is needed, though.  Doesn't the Polygons in the PolyCollection have their own codes?