Averaging in Stability Theory