Added interfaces for reduce and for neighborhood