Adding container injection for factories :)