Updated the examples. Other fixes too.