Updated node api and docs.