Updated level manager class.