Make compatible with Spree 1.3