Refine types
Read in calling processes
Fix typo