Excellent idea that could make it easier to write plugins.
I would have like to see more tests (but at least there _are_ tests). The documentation got 1 because it badly describeq what the module does. Run doesn't take argument to specify the environment. Also, "Hints" are said to be set to zero; I would have liked to know what a "hint" is in this case.