Error changes in classes