Inject method rewritten