Updated for the Node API and the inclusion of Trireme.