When inheriting from a process, we should also copy it's environmentAgent. I don't know if it is done or not