Add missing magic templates dependency.