Some minor cleanup for XRP deficiency feature.