Corrections to the random-phase approximation