Make getshards return objects