Updates demos and examples for the new constructor API.