Refining deps