Stub out attach. This totally does not work and we should use reptyr.