Future proof 'attach()'