adapt to the recent API changes of opm-parser