Add methods 'getNodesByType' and 'getByNodeIds' to NodeService.