Change implementation to work with version alpha4 of Bakery
Remove debug code
Merge pull request #2 from julioneander/bakery-alpha4

Merged pull request. Albeit belated.