Fixed errors. Missing cookbook example.