Fixed and tested examples.