Small fix in example
Added support for message expiration