Removed unnecessary iterator inheritance.