module Nokogiri::HTML4

def fragment(...)

Convenience method for Nokogiri::HTML4::DocumentFragment.parse
def fragment(...)
  HTML4::DocumentFragment.parse(...)
end

def parse(...)

Convenience method for Nokogiri::HTML4::Document.parse
def parse(...)
  Document.parse(...)
end