Stubs for processes and env