Add demo and fix example.