Actually set nodes in withNodes

Fixes #20