Type hints for ToEli method