I don't think the double wrapping is a huge issue, and this code does not seem to lie on a hot path (correct me if I'm wrong).