Rename document to soap because it was earlier changed in the superclass