Use lists instead of STL stuff.