Add shardId to registrations
Hacks to get reads and writes to go local