callback style loading of node definitions