With this PR we reduce coupling, simplify code, encapsulate a variable and separate actual `ESM` data from its context.