Allow arbitrary attachments to be passed into attach method