Small improvements (doc, unpacking scalar values ScalarElem).