Fixed #6: Modify API to set composite key as an array.