Canceled last change as 1.0.8 will be using attrs and not dn in adapt_from_template