Fix deprecated stub use.