Delete unecessary classes