Removing unused class members