 The Ministry of Rites was in charge of state ceremonies , rituals , and sacrifices ; it also oversaw registers for Buddhist and Daoist priesthoods and even the reception of envoys from tributary states . 
