Forgot to refactor the initialize mojo to use the getNode method instead of the node field

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>