Fix from: Scott Knight(knightsc@gmail.com):

Use a map rather than a vector to store the objects managed by the shared
cluster since mostly want this for random lookup, so the map is much faster.