bug: Fix usage of metamodel manager in ocl api