Convert ModelingCommonsInterface to scala