Make the OpenMM interface more compatible with the OpenMM implementation.