Added support for changing content and associated sample.