Implement some more methods in DynamicList, including clear/get/indexOf/isEmpty/iterator/set.