I'll change it to use `ElementEncodingType`. (I prefer to specify the return type as long as it is not terribly inconvenient.)