abinit fix, functions packed in classes