Simplify MyNodeExpander and add docs.