Refactor attachments to be stackable by default.
Refactor Attachments#indexOf to only use class itself.