Add template dependencies.