Allow interfaces to be used in TypedIterator