Start of macro system for StatML