add function names; cleanup
add function names; cleanup
prevent double logging
more `fs` module stubs
support external templates/plugins on Node.js (#543)