Upgrade npm dependencies and use new interfaces.