replace BoxInterface by ComponentInterface in composite