diff --git a/lib/message_store/stream_name.rb b/lib/message_store/stream_name.rb
index <HASH>..<HASH> 100644
--- a/lib/message_store/stream_name.rb
+++ b/lib/message_store/stream_name.rb
@@ -14,8 +14,8 @@ module MessageStore
       '+'
     end
 
-    def self.compound_id_delimiter
-      type_delimiter
+    class << self
+      alias :compound_id_delimiter :type_delimiter
     end
 
     def self.stream_name(category_name, id=nil, type: nil, types: nil)
Alias compound_id_delimiter to type_delimiter