Wrap during setElement