Properly handle classified depends.

The maze of passages, it twists.