make api.Destination a class rather than an interface