Removing not needed classes