When the Scripting API is ready to modify existing object layers, we should consider adding variable templating inside those objects too.