Makes the spree api easier to extend