Rewriting lohit open type tables