Maybe rename this to appendStatsMap and remove the return type? The current name implies it is some immutable operation.