Code to an interface and not a concrete class, especially since nothing
specifically from ArrayList is being used.