# File lib/dm-core/property/lookup.rb, line 24
      def const_missing(name)
        if const = Property.find_class(name)
          return const
        end

        # only check within DataMapper::Types, if it was loaded.
        if DataMapper.const_defined?(:Types)
          if DataMapper::Types.const_defined?(name)
            type = DataMapper::Types.const_get(name)

            return type if type < DataMapper::Type
          end
        end

        super
      end