Added attachment attribute to Document for upload documents