Smart hydrogels for in situ generated implants.