Starting to move NodUI references into the model callback.