Updated for spree 1.3.3