Custom dependency injector