Fixes typos with onInject.

* onInject is called with one argument, the container instance.