Record application in the dependency graph.