Patched up the bin name retrieval and old stuff should all be working with MongoDB.