index: adhere to node.js spec