Add default query and template for URIs that do not have a type template