Partly neyron implementation.