Implement Array.push and slice for collection type