First implementation of simple retention policy. Refs #2024