Removing attachment detail and adding view attachment.