Move neighbors discovery out of engine class.