Multiple distance sensor(cm8jl65) PX4

I have a question about adding multiple distance sensors, I’m trying to add multiple cm8jl65 sensors to px4 v5 board. In the documentation it’s says the drive needs to be modified. So what would be the best way to do it? In src/drivers/distance_sensor/cm8jl_main.cpp line 45 the CM8JL65 *g_dev object is created, so would it be appropriate to create array of sensor objects and go through them in a loop in reset(), start(), status() etc.?