Clean up process functions, #5