The way you've used this is exactly what I was describing above, namely, you are doing this on the sync instance.  Therefore, the `end` method can live on the Sync prototype, and be per instance.