Reduce nokogiri dependency