Added ActivityHistories to case model