merged interface IComponent into class Component