Utility methods for node.js.