Would be better to use ep.copyasstringref() here.