Add put demo code.