adds stream passing support for dnode callbacks