Updated DDoc, made template order more consistent.