Fix deprecated.