Keeping environment when spawning.