Added primitive getShares() support.