add action injector for primitive types