Support setting group and controller on photon.