Added experimental application of closure code