deprecate ->inject