Make backwards compatible for Spree 1.3