Changed several ArrayList implementations to the List interface.