Exported functions to nnet package.