Backported some stuff.
Don't use List.