Balanced indentation of code added by `wrapShim`