How is this optional for the attach method? If you don't provide something to attach to... then attach can't do anything.