def __call__(self, id, title):
     # The queue might get large, and we don't want it showing its
     # contents in navigation
     mqueue = BTreeFolder(id)
     mqueue.title = title
     directlyProvides(mqueue,IModerationQueue)
     return mqueue
 def __call__(self, id, title, **kwargs):
     if kwargs.get('btree', None):
         folder = BTreeFolder(id)
     else:
         folder = Folder(id)
     folder.title = title
     directlyProvides(folder, IListArchiveSubFolder)
     return folder