Move some methods to staticmethods
Move some methods to staticmethods

Signed-off-by: Julien Danjou <5c682c2d1ec4073e277f9ba9f4bdf07e5794dabe@danjou.info>

william-silversmith/tenacity,bodenr/tenacity,jd/tenacity