Qinqon work

The author is not ok, again... I have just move the helpers outside because there were a problem when you try to do a Provider extending another one.