Change distance to distances to not clash with Distance used in entitycache (did I not commit this earlier?!)