for-each-ref: avoid loading objects to print %(objectname)