Add __sleep and __wakeup example