CDK-534. Demo example no longer compiles since it uses deprecated methods.