Reimplement environments as SIMPLE-VECTORs.