Canonical models for a class of polynomially convex hulls