I made progress in debugging today, but had trouble trying to reproduce the error consistently. I’ll likely have it figured out by tomorrow. For today, I added more identifiers for the key/if/loop callbacks in the template system, with some logic to support a few of them.