diff --git a/actionview/lib/action_view/template/types.rb b/actionview/lib/action_view/template/types.rb
index <HASH>..<HASH> 100644
--- a/actionview/lib/action_view/template/types.rb
+++ b/actionview/lib/action_view/template/types.rb
@@ -6,13 +6,7 @@ module ActionView
     class Types
       class Type
         cattr_accessor :types
-        self.types = Set.new
-
-        def self.register(*t)
-          types.merge(t.map(&:to_s))
-        end
-
-        register :html, :text, :js, :css,  :xml, :json
+        self.types = Set.new([ :html, :text, :js, :css, :xml, :json ])
 
         def self.[](type)
           return type if type.is_a?(self)
Remove register abstraction.

The template types is a private abstraction to fill in basic blanks from Action Dispatch's
mime types. As such we can modify the data structure ourselves.