Bug 5700 - Backwards compatibility of sharding api's with old api's