add registerPartialsSync