fix adapt for MEAM-C

Hello all,
I would like to use fix adapt with MEAM/C package but apparently this pair style is not supported by fix adapt. I was wondering if anyone could guide me on how to implement this in LAMMPS. The documentation mentions adding an extract method to the pair_*.cpp file associated with the potential, but I could not figure out how to do this.

Thanks,
Siavash