Enabled programmatic usage for rex-template