Rename cm.dependencies to res.dependencies