Spree 2.4.x compatibility