added _type to partials