Avoid unnecessary allocation.