resource: provide new functions to walk through resources