Updated the demo and examples.