injectProperties renamed to inject