Move set_process_model call to where it belongs.