Removed some functionality. It should work with new nokogiri.