Pass -Keep, name (-Name) and extra_args into the pattern constructor.