Use Elmt_t rather than XX.