If you’re using mapDirectory, that would make sense since that recursivley creates Explicit mappings whose ID is the name of the component.
What about the setupVariables issue you were having? You kind of switched mid-stream from that to bean.body.
Thanks!
~Brad