Fixing examples in the examples directory