Make inject configurable