```ruby
path_options = options.extract!('protocol', 'extname').symbolize_keys