Changed injectInstance to injectProperties