Fixing type in examples
Doc update.