Working with class diff