Prototype implementation of expiry_threshold, with POD