Fixed issues with examples.