Adapt to netlib API changes.