-Adjusting the maxRegister attribute access.