I think recent patches shows that getSectionMap() is a bit excessive,
since anyways we need to have access to base command somehow in createSections().
At the same time one of pending patches moves "Add" lambda out from this method,
what will make it a bit shorter.
So I suggest to remove getSectionMap() for simplification.
Details
Details
Diff Detail
Diff Detail