Isolated the process related functionality.