Add default for cookbook()
Bump revision to 3.1.2