diff --git a/lib/git_diff/diff_file.rb b/lib/git_diff/diff_file.rb
index <HASH>..<HASH> 100644
--- a/lib/git_diff/diff_file.rb
+++ b/lib/git_diff/diff_file.rb
@@ -15,8 +15,8 @@ module GitDiff
     def <<(string)
       return if extract_diff_meta_data(string)
 
-      if(hunk = Hunk.from_string(string))
-        add_hunk hunk
+      if(range_info = RangeInfo.from_string(string))
+        add_hunk Hunk.new(range_info)
       else
         append_to_current_hunk string
       end
diff --git a/lib/git_diff/hunk.rb b/lib/git_diff/hunk.rb
index <HASH>..<HASH> 100644
--- a/lib/git_diff/hunk.rb
+++ b/lib/git_diff/hunk.rb
@@ -9,19 +9,6 @@ module GitDiff
 
     attr_reader :lines, :range_info
 
-    module ClassMethods
-      def from_string(string)
-        if(range_info = RangeInfo.from_string(string))
-          Hunk.new(range_info)
-        end
-      end
-
-      # def extract_hunk_range_data(string)
-      #   /@@ \-(\d+,\d+) \+(\d+,\d+) @@(.*)/.match(string)
-      # end
-    end
-    extend ClassMethods
-
     def initialize(range_info)
       @range_info = range_info
       @lines = []
Remove extraneous method Hunk.from_string.