Define process and console in the root context