diff --git a/lib/ronin/model/has_description.rb b/lib/ronin/model/has_description.rb
index <HASH>..<HASH> 100644
--- a/lib/ronin/model/has_description.rb
+++ b/lib/ronin/model/has_description.rb
@@ -27,8 +27,6 @@ module Ronin
     # Adds a `description` property to a model.
     #
     module HasDescription
-      include DataMapper::Types
-
       def self.included(base)
         base.module_eval do
           include Ronin::Model
diff --git a/lib/ronin/platform/cacheable.rb b/lib/ronin/platform/cacheable.rb
index <HASH>..<HASH> 100644
--- a/lib/ronin/platform/cacheable.rb
+++ b/lib/ronin/platform/cacheable.rb
@@ -107,7 +107,7 @@ module Ronin
           include Ronin::Model
 
           # The class-name of the cached object
-          property :type, DataMapper::Types::Discriminator
+          property :type, DataMapper::Property::Discriminator
 
           # The cached file of the object
           belongs_to :cached_file,
Do not use DataMapper::Types anymore, use DataMapper::Property instead.