Updated NonEmptyArrayOfPathsToElementType implementation and children.