Add some functions to Neuron.