Attach elements outside the transclusionFn.