Removing unused ast classes.