Support node-like module loaders. Closes gh-1103