dont use IElementType - it language specific and api is useless
allow value for index methods

simplified