Some more updates for libimf usage