Fixed static declaration of Distance