Retire/restore takeaway functionality added.