Add Distance struct.