Reverting change on the visibility of the method getDegree on Delegate class