beginning to make the library robust to upcoming OpenMx changes