Make some association computation methods shard-safe