Added cppcomponent::define_interfce