You're right. Although his second post is a bit different (at least as I understood it)
I addressed this from a library approach (and you had already given the clue of how to use it in the same app with a code module)
For the rest, I'd blame it on
@LucaMs