Adds compatibility for Spree 2.3.x