add dependencies to the amd wrapper