Updated component factory dependancy