Expose current_node as a session DSL method, closes #959