Fix retention policy and add examples