Added expiry support to records.