Unify completions and templates