Make attaching work.