Add some map functions to Subprocess.