Smartened up the 'attach' shorthand