Started implementing profile switch.