Julia doesn't have dynamic structures. Syntax such as M_.mapping..eqidx are complicated and hard to implement. Replace it with M_.mapping.eqidx.