Remove unused java classes.