Remove 3.1 (no longer supported) and add after_success