smalltalk: Abstract out the common iteration protocol into a superclass.