Remove main classes