Don't emit length unless it's needed.