Fix dependency on chef gem
Allow using rewind in providers
Return resource in rewind method