Added changes for AttachmentView.