Support opening attachments directly.