Add new functions to the demo page