Remove main class.