Runtime dependency between modules cause by function definition

I’m using Plug alone so I don’t have the scope macro, but I ended up cooking something similar to solve the issue, but couldn’t find out why this kind of dependency is needed. Thanks for the reply!