diff --git a/lib/rom/memory/repository.rb b/lib/rom/memory/repository.rb
index <HASH>..<HASH> 100644
--- a/lib/rom/memory/repository.rb
+++ b/lib/rom/memory/repository.rb
@@ -52,10 +52,6 @@ module ROM
       def [](name)
         connection[name]
       end
-
-      def command_namespace
-        Memory::Commands
-      end
     end
   end
 end
diff --git a/lib/rom/memory/storage.rb b/lib/rom/memory/storage.rb
index <HASH>..<HASH> 100644
--- a/lib/rom/memory/storage.rb
+++ b/lib/rom/memory/storage.rb
@@ -44,6 +44,11 @@ module ROM
         data.key?(name)
       end
 
+      # Return registered datasets count
+      #
+      # @return [Integer]
+      #
+      # @api private
       def size
         data.size
       end
Remove obsolete method and add docs to Memory::Storage