Make after_do warning-free

This makes after_do warning-free.

There are two commits; the first one makes after_do warning-free for the sake of other libraries using it, the second makes the specs warning free (or, actually, would make them if rest-client would be warning-free…).

It would be great if at least the first commit got accepted. :)