Additional functionality for macrogen