Refactor PaperHouse::Dependency.