Removes references to shared environment throughout Flocking.