Backend work for minister reshuffling