Only export neighbor function from NJ module.