removing unused class def