Use class methods to find the enrollment mode.