Added node helpers

Do we want to be defensive about arguments, or let that for the calling code to do? Open debate..