Wrap in an explicit transaction