Monkey patching the inject method