code: function(slice) {
        this.haveTopLevelSlicesBeenBuilt = false;
        slice.parentContainer = this.parentContainer_;
        this.slices.push(slice);
        return slice;
      }
docs: Helper function that pushes the provided slice onto the slices array.
  @param {Slice} slice The slice to be added to the slices array.