Make compatible with Spree 2.2