Added support for the node.js domains.

Closes #13.