Removed list.
Switching to using STL functions for parts that are trivial.