Add --freeze-only and --dump-params options.