Remove unused proximity function