This patch changes the interface to enable the shrink wrapping optimization.