Similar to OPM/opm-core#205