Add hashring as optional dependency