Put dep-degree in its own class.