Possibility to override function used to determine current node