reagent: rename details to env and allow set/get of it