Simplify how process handles are stored