Examples of materials which can be used to form a hydrogel include polysaccharides such as alginate and salts thereof, peptides, polyphosphazines, and polyacrylates, which are crosslinked ionically, or block polymers such as polyethylene oxide-polypropylene glycol block copolymers which are crosslinked by temperature or pH, respectively.