Implemented ramp defense.