Preparations for toggle support.