Fix Netty upgrade.