How about changing `Node currentNode` to `Resource resource` and remove the `Session session` param?
In getTabs you you get your RR off resource, and adapt the RR to a Session if needed (which you shouldnt do per comment below).