Simplify stability augmentation code