Added public implementation for NeuralNet and INeuralNetCallback.