Tightened up the code samples in the recipes