ArrayRef has a OneElt constructor. Beautify the code.