Implementing searching and pulling docker images

Why are we using a docker client event for this? Why not just trigger this callback off of the deferred returned from DockerClient.pull() instead? That would fit in with the way things are done in DockerClient much better.

Or is there a good reason?