Adding `ext` option.