Handle wrapping without JS hack.