[Degree] Feature: Added degree code and some related auxiliary methods.