support other type injector for define