Near beacon detection code removed.