Support arg parsing regardless of execution mode.