Encapsulate the primitive shapes