Poly class and misc changes for Pymunk API capability