More refactoring in List class.