Make it work wit spree up to 1.3.2