This content is now available at nsIDirectoryService.registerProvider().
nsIDirectoryService.registerProvider()