Fix deprecated thing