make const iterator methods semantically more correctly