Get rid of List.push and List.pop