added auto registration for partials