Fixes on component factory, allowing to have multiple instances of the same component.