Add an injectContent overrideable method.

fixes #10