The invention relates to a method of preparing a composition, the composition comprising a crosslinked first polymer, optionally a second polymer, which may be crosslinked or non-crosslinked, and water, wherein the first and the second polymer are selected from a polysaccharide, comprising at least steps (i) to (iv): (i) crosslinking a mixture comprising the first polymer and water; (ii) subsequent to the crosslinking in step (i), terminating the crosslinking; (iii) optionally blending the product obtained in step (ii) with the second polymer; (iv) subjecting the product obtained in step (iii) to dialysis.