Initial implementation of inject method.