Remove generators (as they are not necessary).