Delete unnecesary classes